package com.by;

import com.by.entity.Db;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author LittleDesire
 * @description
 * @date 2022-03-22 周二 14:17
 * @since 17
 */
public class App {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("spring.xml");
        Db db = ctx.getBean(Db.class);
        db.save();
        db.add();
        db.del();
    }
}
